;音乐配置数据索引
MUSIC_PROFILE_BANK_INDEX    = $00
MUSIC_PROFILE_INIT_INDEX    = $04
MUSIC_PROFILE_PLAY_INDEX    = $06
MUSIC_PROFILE_START_INDEX   = $08
MUSIC_PROFILE_TOTAL_INDEX   = $09
MUSIC_PROFILE_NAME_INDEX    = $0A
MUSIC_PROFILE_DMC_INDEX     = $0C
;==================================================
PLAY_STOP_ID            = $0C
PLAY_TILE_ID            = $0E
;==================================================
;Bank常量
PRG_DATA_BANK_00        = $00
PRG_DATA_BANK_01        = $01
PRG_DATA_BANK_02        = $02
PRG_DATA_BANK_03        = $03
PRG_DATA_BANK_04        = $04
PRG_DATA_BANK_05        = $05
PRG_DATA_BANK_06        = $06
PRG_DATA_BANK_07        = $07
PRG_DATA_BANK_08        = $08
PRG_DATA_BANK_09        = $09
PRG_DATA_BANK_0A        = $0A
PRG_DATA_BANK_0B        = $0B
PRG_DATA_BANK_0C        = $0C
PRG_DATA_BANK_0D        = $0D
PRG_DATA_BANK_0E        = $0E
PRG_DATA_BANK_0F        = $0F
 
PRG_DATA_BANK_10        = $10
PRG_DATA_BANK_11        = $11
PRG_DATA_BANK_12        = $12
PRG_DATA_BANK_13        = $13
PRG_DATA_BANK_14        = $14
PRG_DATA_BANK_15        = $15
PRG_DATA_BANK_16        = $16
PRG_DATA_BANK_17        = $17
PRG_DATA_BANK_18        = $18
PRG_DATA_BANK_19        = $19
PRG_DATA_BANK_1A        = $1A
PRG_DATA_BANK_1B        = $1B
PRG_DATA_BANK_1C        = $1C
PRG_DATA_BANK_1D        = $1D
PRG_DATA_BANK_1E        = $1E
PRG_DATA_BANK_1F        = $1F
 
PRG_DATA_BANK_20        = $20
PRG_DATA_BANK_21        = $21
PRG_DATA_BANK_22        = $22
PRG_DATA_BANK_23        = $23
PRG_DATA_BANK_24        = $24
PRG_DATA_BANK_25        = $25
PRG_DATA_BANK_26        = $26
PRG_DATA_BANK_27        = $27
PRG_DATA_BANK_28        = $28
PRG_DATA_BANK_29        = $29
PRG_DATA_BANK_2A        = $2A
PRG_DATA_BANK_2B        = $2B
PRG_DATA_BANK_2C        = $2C
PRG_DATA_BANK_2D        = $2D
PRG_DATA_BANK_2E        = $2E
PRG_DATA_BANK_2F        = $2F
 
PRG_DATA_BANK_30        = $30
PRG_DATA_BANK_31        = $31
PRG_DATA_BANK_32        = $32
PRG_DATA_BANK_33        = $33
PRG_DATA_BANK_34        = $34
PRG_DATA_BANK_35        = $35
PRG_DATA_BANK_36        = $36
PRG_DATA_BANK_37        = $37
PRG_DATA_BANK_38        = $38
PRG_DATA_BANK_39        = $39
PRG_DATA_BANK_3A        = $3A
PRG_DATA_BANK_3B        = $3B
PRG_DATA_BANK_3C        = $3C
PRG_DATA_BANK_3D        = $3D
PRG_DATA_BANK_3E        = $3E
PRG_DATA_BANK_3F        = $3F

;Bank常量
PRG_DATA_BANK_40        = $40
PRG_DATA_BANK_41        = $41
PRG_DATA_BANK_42        = $42
PRG_DATA_BANK_43        = $43
PRG_DATA_BANK_44        = $44
PRG_DATA_BANK_45        = $45
PRG_DATA_BANK_46        = $46
PRG_DATA_BANK_47        = $47
PRG_DATA_BANK_48        = $48
PRG_DATA_BANK_49        = $49
PRG_DATA_BANK_4A        = $4A
PRG_DATA_BANK_4B        = $4B
PRG_DATA_BANK_4C        = $4C
PRG_DATA_BANK_4D        = $4D
PRG_DATA_BANK_4E        = $4E
PRG_DATA_BANK_4F        = $4F
 
PRG_DATA_BANK_50        = $50
PRG_DATA_BANK_51        = $51
PRG_DATA_BANK_52        = $52
PRG_DATA_BANK_53        = $53
PRG_DATA_BANK_54        = $54
PRG_DATA_BANK_55        = $55
PRG_DATA_BANK_56        = $56
PRG_DATA_BANK_57        = $57
PRG_DATA_BANK_58        = $58
PRG_DATA_BANK_59        = $59
PRG_DATA_BANK_5A        = $5A
PRG_DATA_BANK_5B        = $5B
PRG_DATA_BANK_5C        = $5C
PRG_DATA_BANK_5D        = $5D
PRG_DATA_BANK_5E        = $5E
PRG_DATA_BANK_5F        = $5F
 
PRG_DATA_BANK_60        = $60
PRG_DATA_BANK_61        = $61
PRG_DATA_BANK_62        = $62
PRG_DATA_BANK_63        = $63
PRG_DATA_BANK_64        = $64
PRG_DATA_BANK_65        = $65
PRG_DATA_BANK_66        = $66
PRG_DATA_BANK_67        = $67
PRG_DATA_BANK_68        = $68
PRG_DATA_BANK_69        = $69
PRG_DATA_BANK_6A        = $6A
PRG_DATA_BANK_6B        = $6B
PRG_DATA_BANK_6C        = $6C
PRG_DATA_BANK_6D        = $6D
PRG_DATA_BANK_6E        = $6E
PRG_DATA_BANK_6F        = $6F
 
PRG_DATA_BANK_70        = $70
PRG_DATA_BANK_71        = $71
PRG_DATA_BANK_72        = $72
PRG_DATA_BANK_73        = $73
PRG_DATA_BANK_74        = $74
PRG_DATA_BANK_75        = $75
PRG_DATA_BANK_76        = $76
PRG_DATA_BANK_77        = $77
PRG_DATA_BANK_78        = $78
PRG_DATA_BANK_79        = $79
PRG_DATA_BANK_7A        = $7A
PRG_DATA_BANK_7B        = $7B
PRG_DATA_BANK_7C        = $7C
PRG_DATA_BANK_7D        = $7D
PRG_DATA_BANK_7E        = $7E
PRG_DATA_BANK_7F        = $7F

;==================================================
;NES端口常量
PPU_CTRL                =   $2000   ;PPU控制寄存器
PPU_MASK                =   $2001   ;PPU掩码寄存器
PPU_STATUS              =   $2002   ;PPU状态寄存器：读取后PPU_SCROLL和PPU_ADDRESS被复位，下一个写到PPU_SCROLL的数据是水平的，写到PPU_ADDRESS的数据是高位
PPU_OAM_ADDR            =   $2003   ;精灵RAM地址：用来设置通过PPU_OAM_DATA访问的256字节精灵RAM地址。每次访问PPU_OAM_DATA后该地址增加1
PPU_OAM_DATA            =   $2004   ;精灵RAM数据：用来读/写精灵内存。地址通过PPU_OAM_ADDR来设置，每次访问后地址增加1
PPU_SCROLL              =   $2005   ;屏幕滚动偏移：第一个写的值会进入垂直滚动寄存器（若>239，被忽略）。第二个值出现在水平滚动寄存器
PPU_ADDRESS             =   $2006   ;VRAM地址：设置PPU_DATA访问的VRAM地址。第一个写地址的高6位。第二个写低8位。每次访问PPU_DATA后地址增加
PPU_DATA                =   $2007   ;VRAM数据：用来访问VRAM数据，通过PPU_ADDRESS设置的地址在每次访问之后会增加1或32
OAM_DMA                 =   $4014   ;DMA访问精灵RAM：通过写一个值xx到这个端口，引起CPU内存地址为$xx00－$xxFF的区域传送到精灵内存
APU_STATUS              =   $4015   ;声音通道切换
JOY1_FRAME              =   $4016   ;手柄1 + 选通
JOY2_FRAME              =   $4017   ;手柄2 + 选通

;====================================================================================================
;宏常量
;====================================================================================================
